From 3ae14630a39545841710ed5bb1a3f5cd8b79b843 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Timm=20B=C3=A4der?= Date: Sun, 30 Oct 2016 15:36:26 +0100 Subject: [PATCH] tests: Don't add wigets to a GtkInvisible It's not a GtkContainer. --- testsuite/gtk/treeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testsuite/gtk/treeview.c b/testsuite/gtk/treeview.c index 9488cd7c13..384bb4fedc 100644 --- a/testsuite/gtk/treeview.c +++ b/testsuite/gtk/treeview.c @@ -192,7 +192,8 @@ test_row_separator_height (void) gtk_list_store_insert_with_values (store, &iter, 3, 0, "Row content", -1); gtk_list_store_insert_with_values (store, &iter, 4, 0, "Row content", -1); - window = gtk_invisible_new (); + /*window = gtk_invisible_new ();*/ + window = gtk_window_new (GTK_WINDOW_TOPLEVEL); tree_view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store)); gtk_tree_view_set_row_separator_func (GTK_TREE_VIEW (tree_view), -- 2.30.2